/*
 * @Description:
 * @Author: jun.wu
 * @Date: 2022-09-21 14:17:01
 * @LastEditors: jun.wu
 * @LastEditTime: 2022-12-06 15:16:17
 */
import Vue from "vue";
import Vuex from "vuex";
import getters from "./getters";
import app from "./modules/app";
import settings from "./modules/settings";
import user from "./modules/user";
import permission from "./modules/permission";
import tagsView from "./modules/tagsView";
Vue.use(Vuex); // vuex注册
//vuex实例化
const store = new Vuex.Store({
  modules: {
    //vuex模块化
    app,
    settings,
    user,
    permission,
    tagsView,
  },
  getters,
});

export default store;
